package top.mataiji.manager.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhoubin
 * @since 1.0.0
 */
public class SlideShow implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 轮播图id
     */
    private String imgId;

    /**
     * 轮播图图片地址
     */
    private String imgAddress;

    /**
     * 创建时间
     */
    private Date date;

    /**
     * slideshow
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImgId() {
        return imgId;
    }

    public void setImgId(String imgId) {
        this.imgId = imgId == null ? null : imgId.trim();
    }

    public String getImgAddress() {
        return imgAddress;
    }

    public void setImgAddress(String imgAddress) {
        this.imgAddress = imgAddress == null ? null : imgAddress.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", imgId=").append(imgId);
        sb.append(", imgAddress=").append(imgAddress);
        sb.append(", date=").append(date);
        sb.append("]");
        return sb.toString();
    }
}
